/**
 * Created by Administrator on 2016/9/8.
 */
define(['jquery'],function(){
    $(function(){
        var oLi=$('#left-nav li');
        oLi.mouseenter(function()
        {
            var index=$(this).index();
            $('#redBox-scroll').css({"display":"block","top":73*(index-1)});
            if(index==(oLi.length))
            {
                $('#redBox-scroll').css({"display":"none"});
            }
        });
        oLi.mouseleave(function()
        {
            $('#redBox-scroll').css({"display":"none"});
        })

    });
});
